<div id="myModal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
  <div class="modal-header">
    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
    <h3 id="myModalLabel">Create Customer</h3>
  </div>
  <div class="modal-body">
<p align="justify">Please enter the Customer information below.</p>

<div id="infoMessage"><?php echo $message;?></div>

<?php echo form_open("sales/sales/create_sales");?>

     <table width="60%" align="center" class="table-condensed">  
        <tr> <td><b>  customer Name: </b></td>
            <td><?php echo form_input($first_name);?></td>
        </tr>  
     <tr>
         <td> <b> Password: </b></td>
          <td> <?php echo form_input($password);?></td>
      </tr>

      <tr>
            <td><b>Confirm Password:</b> </td>
       	   <td>  <?php echo form_input($password_confirm);?></td>
      </tr>
	 <tr> 
     	  <td> <b>Tin Number:</b> </td>
    	  <td><?php echo form_input($tin_no);?></td>
     </tr>   
     
      <tr> 
     	  <td> <b>Phone Number:</b> </td>
    	  <td><?php echo form_input($phone_no);?></td>
     </tr>   
      <tr> 
     	  <td> <b>Email Address:</b> </td>
    	  <td><?php echo form_input($email);?></td>
     </tr>   
      <tr> 
     	  <td> <b>Address:</b> </td>
    	  <td>  <?php echo form_textarea($address, '', 'style="height : 50px;"');?></td>
     </tr>   
      
        
<tr><td>&nbsp;</td> <td><?php echo form_submit('submit', 'Add Customer', 'class="btn btn-primary"');?></td></tr>
</table>
<?php echo form_close();?>

  </div>
</div>